package top.ucat.x.system.entity.beans;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import top.ucat.x.system.entity.SysUser;

import java.io.Serializable;
import java.util.Set;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoDto implements Serializable {

    private SysUser userInfo;
    private String roles;
    private Set<String> permission;
    private boolean admin;

}
